﻿using Catel.Articles.Base.Data.Attributes;

namespace Catel.Articles._02___WPF_controls.Examples.MultiLineInputWindow
{
    [Example("MultiLineInput", "Example of the MultiLineInput",
        LongDescription = @"The MultiLineInputWindow is a convenience control to easily allow users to input text. " +
                           "It is a wrapper around the MultiLineInput control.",
        SourceFileName = "/Examples/MultiLineInputWindow/Code.txt",
        ImageUri = "/Examples/MultiLineInputWindow/Screenshot.png",
        ClickHandlerName = "ShowExample")]
    public class Example
    {
        /// <summary>
        /// Shows the example.
        /// </summary>
        private static void ShowExample()
        {
            // Show window
            Windows.MultiLineInputWindow multiLineInputWindow = new Windows.MultiLineInputWindow();
            multiLineInputWindow.ShowDialog();
        }
    }
}
